package com.dao;

import com.model.AgentMoneyAmount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface AgentMoneyAmountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AgentMoneyAmount record);

    int insertSelective(AgentMoneyAmount record);

    AgentMoneyAmount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AgentMoneyAmount record);

    int updateByPrimaryKey(AgentMoneyAmount record);

    AgentMoneyAmount selectByAgentId(@Param("agent") String agent);
}